public class text3 {
    public static void main(String[] args){
        MyQueue2 myQueue2=new MyQueue2();
        myQueue2.offer(12);
        myQueue2.offer(23);
        myQueue2.offer(34);
        System.out.println(myQueue2.poll());
        System.out.println(myQueue2.peek());
        System.out.println(myQueue2.empty());
    }
}
